package dao;

import java.sql.Connection;
import java.sql.DriverManager;

public abstract class DAO {

	protected Connection conexion;

	public DAO() {
		try {
			Class.forName("com.mysql.jdbc.Driver");
			//conexion = DriverManager.getConnection("jdbc:mysql://db4free.net", "fixpackadmin", "fixpack"); 
			conexion = DriverManager.getConnection("jdbc:mysql://localhost", "root", ""); 
		}catch (Exception e){
			e.printStackTrace();
			conexion = null;
		}
	}

	
}
